<?php

include_once('../config/localconfig.php');
include_once (CTRL_ROOT . 'abstractSiteAction.php');

$siteAction = new AbstractSiteAction($navArray);

switch ($siteAction->getPage()) {
	case 'experience':
		$siteAction->render('experience');
		break;
	case 'education':
		$siteAction->render('education');
		break;
	case 'skills':
		$siteAction->render('skill', array('experience', 'education', 'skillGroup', 'skillFamily'));
		break;
	case 'interests':
		$siteAction->render('interest', array('interestCategory', 'travel'));
		break;
	case 'motivation':
	default:
		$siteAction->render('motivation');
		break;
}
?>